package com.acmen.demo.model;

import com.acmen.easyapi.annotation.Param;

/**
 *
 * @author acmen
 */
public class User {
    /**
     * 部门ID
     */
    @Param(label = "部门ID")
    protected Long deptId;

    /**
     * 用户账号
     */
    @Param(label = "用户账号",example = "zhangsang")
    protected String account;

    /**
     * 用户名称
     */
    @Param(label = "用户名称",example = "张三")
    protected String name;

    /**
     * 用户邮箱
     */
    @Param(label = "用户邮箱")
    protected String email;

    /**
     * 手机号码
     */
    @Param(label = "手机号码")
    protected String mobile;

    /**
     * 用户性别
     */
    @Param(label = "用户性别",example = "1")
    protected String sex;

    /**
     * 用户头像
     */
    @Param(label = "用户头像",example = "http://azexun.com/xxx.jpg")
    protected String avatar;

    /**
     * 密码
     */
    @Param(label = "密码")
    protected String password;

    /**
     * 帐号状态（1正常 0停用）
     */
    @Param(label = "帐号状态")
    protected String status;
    /**
     * 创建者
     */
    @Param(label = "创建者")
    protected String creator;


    public Long getDeptId() {
        return deptId;
    }

    public User setDeptId(Long deptId) {
        this.deptId = deptId;
        return this;
    }

    public String getAccount() {
        return account;
    }

    public User setAccount(String account) {
        this.account = account;
        return this;
    }

    public String getName() {
        return name;
    }

    public User setName(String name) {
        this.name = name;
        return this;
    }

    public String getEmail() {
        return email;
    }

    public User setEmail(String email) {
        this.email = email;
        return this;
    }

    public String getMobile() {
        return mobile;
    }

    public User setMobile(String mobile) {
        this.mobile = mobile;
        return this;
    }

    public String getSex() {
        return sex;
    }

    public User setSex(String sex) {
        this.sex = sex;
        return this;
    }

    public String getAvatar() {
        return avatar;
    }

    public User setAvatar(String avatar) {
        this.avatar = avatar;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public User setPassword(String password) {
        this.password = password;
        return this;
    }

    public String getStatus() {
        return status;
    }

    public User setStatus(String status) {
        this.status = status;
        return this;
    }

    public String getCreator() {
        return creator;
    }

    public User setCreator(String creator) {
        this.creator = creator;
        return this;
    }

}
